<template>
  <div class="good">
  <good-item v-for="(item,index) in goods" :gooditem="item" :key="index"></good-item>
    </div>
</template>

<script>
import GoodItem from "@/components/content/goods/GoodItem";
export default {
name: "GoodList",
  components:{
    GoodItem
  },
  props:{
  goods:{
    type:Array,
    default(){
      return []
    }
  }
  }
}
</script>

<style scoped>
.good{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
}
</style>
